package qingke.app;

import qingke.pojo.Order;
import qingke.pojo.User;

public class Test {
	public static void main(String[] args) {
	
//		SessionFactory sf = new Configuration().configure().buildSessionFactory();
//		Session session = sf.openSession();
//		
//		Account account = session.get(Account.class, 1);
//		System.out.println(account.toString());
//		Catalog catalog = session.get(Catalog.class, 1);
//		System.out.println(catalog.toString());
//		Client client = session.get(Client.class, 1);
//		System.out.println(client.toString());
//		ClientStatus clientstatus = session.get(ClientStatus.class, 1);
//		System.out.println(clientstatus.toString());
//		ClientType clientType = session.get(ClientType.class, 1);
//		System.out.println(clientType.toString());		
//		Order order = session.get(Order.class, 1);
//		System.out.println(order.toString());
//		OrderItem orderItem = session.get(OrderItem.class, 1);
//		System.out.println(orderItem.toString());
//		Payment payment = session.get(Payment.class, 1);
//		System.out.println(payment.toString());
//		PaymentMethod paymentMethod = session.get(PaymentMethod.class, 1);
//		System.out.println(paymentMethod.toString());
//		PaymentStatus paymentStatus = session.get(PaymentStatus.class, 1);
//		System.out.println(paymentStatus.toString());
//		Product product = session.get(Product.class, 1);
//		System.out.println(product.toString());
//		User user = session.get(User.class, 1);
//		System.out.println(user.toString());
	}
}
